package com.zsrt.java.day20161226.zzd.demo3;

import java.util.Scanner;

public class ScoreTest4 {
	public static void demo02(int grade){
		if(grade>=90){
  	    	System.out.println("优秀");
  	    }else if(grade>=80){
  	    	System.out.println("良好");
  	    }else if(grade>=70){
  	    	System.out.println("及格");
  	    }else{
  	    	System.out.println("不及格");
  	    } 	    
    }
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
  	    System.out.println("请输入你的成绩：");
  	    int grade=sc.nextInt();
  	    demo02(grade);
  	    sc.close();
		
	}
    
}
